import React,{ Suspense} from 'react';

function Loading(){
	return <div>loading</div>
}

const L = function (props) {

	return (
		<Suspense fallback={props.Loading ? <props.Loading /> : <Loading />}>
			{props.children}
		</Suspense>
	)
}

export default L;